package com.realtyManage.springboot.Model.Vo;

import com.realtyManage.springboot.Model.Do.Dictionaries;

import java.util.List;

/**
 * DictionariesEntity
 *
 * @Author 杭州素色网络科技有限公司
 * @Date 2019/9/23
 **/
public class DictionariesEntity extends BaseEntity{

    private Integer menuId; //子节点
    private String title; //菜单名称
    private Integer parentId;//父节点
    private List<DictionariesEntity> childMenu;//

    public Integer getMenuId() {
        return menuId;
    }

    public void setMenuId(Integer menuId) {
        this.menuId = menuId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public List<DictionariesEntity> getChildMenu() {
        return childMenu;
    }

    public void setChildMenu(List<DictionariesEntity> childMenu) {
        this.childMenu = childMenu;
    }

    public DictionariesEntity(Integer menuId, String title, Integer parentId) {
        super();
        this.menuId = menuId; //id
        this.title = title; //名称
        this.parentId = parentId; //父级节点
    }

    public DictionariesEntity(){
        super();
    }
}
